<!DOCTYPE html>
<html lang="zh">
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="common/header :: header(~{::title},~{::link},~{::style})">
    <style>


    </style>
    <title>首页</title>
    <link rel="icon" th:href="@{/assets/img/lcxm.ico}" type="image/ico">
</head>

<body class="body">
<!--导航-->
<div th:replace="common/nav :: nav(true)"></div>

<div class="container">

    <div class="row">
        <div style="margin-top: 20px;"></div>
        <div class="row">

            <!-- btn start -->
            <div id="v3" class="col-md-offset-1 col-md-5 ">
                <div class="jumbotron well-sm ">
                    <h5 class="text-warning">切换到新版日报系统，有问题的话及时告知Vic.xu</h5>
                    <p>
                        <a  class="btn btn-warning btn-lg btn-block" role="button"
                            th:href="@{/v3/index.html}">
                            前往Vue3版本</a>
                    </p>
                </div>
            </div>
            <div id="v3-2" class="col-md-offset-1 col-md-5 ">
                <div class="jumbotron well-sm ">
                    <h5 class="text-warning">切换到新版日报系统，有问题的话及时告知Vic.xu</h5>
                    <p>
                        <a  class="btn btn-warning btn-lg btn-block" role="button"
                            th:href="@{/v3/index.html}">
                            前往Vue3版本</a>
                    </p>
                </div>
            </div>
        </div>
        <div class="row">

            <!-- btn start -->
            <div id="report" class="col-md-offset-1 col-md-5 ">
                <div class="jumbotron well-sm ">
                    <h5 class="text-primary">前往填日报页面</h5>
                    <p>
                        <a  class="btn btn-primary btn-lg btn-block" role="button"
                            style="text-decoration: line-through;"
                           th:href="@{/report/insert}">
                            填写日报[将废弃，请前往VUE3版本]</a>
                    </p>
                </div>
            </div>
            <!-- btn end -->

            <!-- btn start -->
            <div id="open" class="col-md-offset-1 col-md-5 ">
                <div class="jumbotron well-sm">
                    <h5 class="text-info">可以根据jira号从jira系统导入jira信息到本系统</h5>
                    <p><a class="btn btn-info btn-lg btn-block" role="button" th:href="@{/jira/}">
                        jira列表</a>
                    </p>
                </div>
            </div>
            <!-- btn end -->
        </div>
        <div class="row">
            <!-- btn start -->
            <div id="" class="col-md-offset-1 col-md-5 ">
                <div class="jumbotron well-sm" title="研发经理可查">
                    <h5 class="text-danger">研发经理可查看所创建的项目的日报填报情况</h5>
                    <p>
                        <a th:if="${session.principal?.isManager()}" class="btn btn-danger btn-lg btn-block" role="button" th:href="@{/report/devManagerList}">
                        项目日报列表</a>

                        <a th:unless="${session.principal?.isManager()}" class="btn btn-danger btn-lg btn-block" role="button" disabled="disabled">
                            项目日报列表</a>

                    </p>
                </div>
            </div>

            <!-- btn end -->
            <!-- btn start -->
            <div id="food" class="col-md-offset-1 col-md-5 ">
                <div class="jumbotron well-sm">
                    <h5 class="text-success">查看个人信息，维护个人所属小组</h5>
                    <p><a class="btn btn-success btn-lg btn-block" role="button" th:href="@{/user/edit/{id}(id=${session.principal?.id})}">
                        编辑个人小组信息</a>
                    </p>
                </div>
            </div>
            <!-- btn end -->

            <div class="row">
                <!-- btn start -->
                <div id="stats" class="col-md-offset-1 col-md-5 ">
                    <div class="jumbotron well-sm">
                        <h5 class="text-info">基于项目的工时统计图表(开发中)</h5>
                        <p><a class="btn btn-info btn-lg btn-block" role="button" th:href="@{/stats/}">
                            项目工时统计图表</a>
                        </p>
                    </div>
                </div>
                <!-- btn end -->

                <!-- btn start -->
                <div id="plan" class="col-md-offset-1 col-md-5 ">
                    <div class="jumbotron well-sm">
                        <h5 class="text-primary">周计划列表</h5>
                        <p><a class="btn btn-primary btn-lg btn-block" role="button" th:href="@{/plan/}">
                            新增查看周计划</a>
                        </p>
                    </div>
                </div>
                <!-- btn end -->

        </div>


    </div>
</div>

<!-- 引入通用js-->
<div th:replace="common/footer :: footer"></div>

</body>
</html>